{include file="common/center_head"}


    <div class="fly-panel fly-panel-user" pad20>
        <!--
        <div class="fly-msg" style="margin-top: 15px;">
          您的邮箱尚未验证，这比较影响您的帐号安全，<a href="activate.html">立即去激活？</a>
        </div>
        -->
        <div class="layui-tab layui-tab-brief" lay-filter="user">
            <ul class="layui-tab-title" id="LAY_mine">
                <li data-type="mine-jie" lay-id="index" class="layui-this">我发的帖（<span>89</span>）</li>
                <li data-type="collection" data-url="/index/center/my_collect/" lay-id="collection">我收藏的帖（<span>16</span>）</li>
            </ul>
            <div class="layui-tab-content" style="padding: 20px 0;">
                <div class="layui-tab-item layui-show">
                    <ul class="mine-view jie-row">
                        {foreach $noteList as $key=>$val}
                        <li>
                            <a class="jie-title" href="/index/forum/noteDetail?id={$val.id}" target="_blank">{$val.title}</a>
                            <i style="float:right;margin-right: 40px;">{$val.create_time}</i>
                            <a class="mine-edit" href="/index/forum/editnote.html?id={$val.id}">编辑</a>
                            <em>{$val.comment_num}答</em>
                        </li>
                        {/foreach}
                    </ul>
                    <div id="LAY_page"></div>
                </div>
                <div class="layui-tab-item">
                    <ul class="mine-view jie-row">
                        {foreach $collectList as $key=>$val}
                        <li>
                            <a class="jie-title" href="/index/forum/noteDetail?id={$val.note_id}" target="_blank">{$val.title}</a>
                            <i  style="float:right;">收藏于{$val.create_time}</i>  </li>
                        {/foreach}
                    </ul>
                    <div id="LAY_page1"></div>
                </div>
            </div>
        </div>
    </div>
</div>

<script>
    layui.cache.page = 'user';
    layui.cache.user = {
        username: '游客'
        ,uid: -1
        ,avatar: '../../res/images/avatar/00.jpg'
        ,experience: 83
        ,sex: '男'
    };
    layui.config({
        version: "3.0.0"
        ,base: '__MODS__/'
    }).extend({
        fly: 'index'
    }).use('fly');
</script>

{include file="common/forum_foot"}